package com.chenjl.transport;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
 * 
 * @author chenjinlong
 */
public abstract class AbstractServer {
	protected static final Logger logger = LoggerFactory.getLogger(AbstractServer.class);
	
	protected volatile boolean close = false;
	
	public boolean isClose() {
		return close;
	}
	public void close() {
		if(close) {
			return;
		}
	}
	public abstract void open();
}